// 1- 创建Router，并赋值给goodsRouter
const express = require("express");
const goodsRouter = express.Router();
// 2- 通过goodsRouter创建路由
goodsRouter.get("/goodsList",(req,res)=>{
	
	res.send("商品列表页")
})
goodsRouter.get("/goodsDetail",(req,res)=>{
	res.send("商品详情页")
});
module.exports = goodsRouter;